package com.itcoon.system.security;/**
 * @author Athric Yu
 * 2025/1/9
 **/

import com.itcoon.cloud.framework.security.model.UserPrincipal;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;

/**
 * @author Athric Yu
 * 2025/1/9
 **/
public class AdminUserPrincipal extends UserPrincipal {

    public AdminUserPrincipal(Long id, String username, String password, boolean enabled, boolean accountNonExpired, boolean credentialsNonExpired, boolean accountNonLocked, Collection<? extends GrantedAuthority> authorities) {
        super(id, username, password, enabled, accountNonExpired, credentialsNonExpired, accountNonLocked, authorities);
    }
}
